/**
* All Rights Reserved , Copyright (C) 2020 , 青岛鼎信通讯股份有限公司
*
* IPmContractService
* 项目合同
*
* 修改纪录
* 2020-05-18 版本：1.0 wushenghong 创建。
* @version 版本：1.0
* @author 作者：wushenghong
* 创建日期：2020-05-18
*/

package com.topscomm.pm.service;

import java.util.List;
import java.util.Map;

import com.topscomm.pm.IPmService;
import com.topscomm.pm.pojo.PmContractEntity;
import com.topscomm.pm.dao.IPmContractDao;

import java.util.List;
import java.util.Map;

public interface IPmContractService extends IPmService<PmContractEntity, IPmContractDao>{
    void updateContractMoneyOfProjectBase(String sourceId, boolean approvalSuccess);

	List<Map<String, Object>> queryContractByChance(Map<String, Object> paraMap);

	List<Map<String, Object>> queryContractPhaseByChance(Map<String, Object> paraMap);

	List<Map<String, Object>> queryContractApprovalPhaseByChance(Map<String, Object> paraMap);

	void updateContractMoneyOfProjectBaseForApproval(String sourceId, boolean approvalSuccess);

}
